inherited dtmReports: TdtmReports
  OldCreateOrder = True
  Height = 263
  inherited adsMaster: TADODataSet
    CursorType = ctStatic
    CommandText = 'select * from xt_Reports order by ReportNo'
    object adsMasterReportID: TIntegerField
      Tag = 1
      DisplayLabel = #25253#34920'ID'
      FieldName = 'ReportID'
    end
    object adsMasterReportNo: TStringField
      Tag = 1
      DisplayLabel = #25253#34920#32534#30721
      FieldName = 'ReportNo'
    end
    object adsMasterReportName: TStringField
      DisplayLabel = #25253#34920#21517#31216
      FieldName = 'ReportName'
      Size = 50
    end
    object adsMasterReportPath: TStringField
      DisplayLabel = #25253#34920#36335#24452
      FieldName = 'ReportPath'
      Size = 100
    end
    object adsMasterFileType: TStringField
      DisplayLabel = #25991#20214#31867#22411
      FieldName = 'FileType'
      Size = 5
    end
    object adsMasterKind: TWordField
      DisplayLabel = #25253#34920#20998#31867
      FieldName = 'Kind'
    end
    object adsMasterModuleID: TIntegerField
      DisplayLabel = #27169#22359'ID'
      FieldName = 'ModuleID'
    end
    object adsMasterParentID: TIntegerField
      Tag = 1
      DisplayLabel = #29238#31867'ID'
      FieldName = 'ParentID'
    end
    object adsMasterTheReport: TBlobField
      DisplayLabel = #25253#34920#20869#23481
      FieldName = 'TheReport'
    end
    object adsMasterState: TWordField
      DisplayLabel = #29366#24577
      FieldName = 'State'
    end
    object adsMasterMyReport: TWordField
      DisplayLabel = #20801#35768#21152#20837#25105#30340#25253#34920#20013#24515
      FieldName = 'MyReport'
    end
    object adsMasterAutoClose: TBooleanField
      DisplayLabel = #33258#21160#20851#38381#25253#34920#28165#21333#30028#38754
      FieldName = 'AutoClose'
    end
    object adsMasterOrderID: TIntegerField
      DisplayLabel = #26174#31034#39034#24207
      FieldName = 'OrderID'
    end
    object adsMasterRemark: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
    object adsMasterres_ModuleName: TStringField
      DisplayLabel = #27169#22359#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_ModuleName'
      LookupDataSet = res_Module
      LookupKeyFields = 'ModuleID'
      LookupResultField = 'ModuleName'
      KeyFields = 'ModuleID'
      Size = 30
      Lookup = True
    end
    object adsMasterCustID: TStringField
      DisplayLabel = #23458#25143'ID'
      FieldName = 'CustID'
    end
    object adsMasterres_CustName: TStringField
      DisplayLabel = #23458#25143#21517#31216
      FieldKind = fkLookup
      FieldName = 'res_CustName'
      LookupDataSet = res_Customer
      LookupKeyFields = 'CustID'
      LookupResultField = 'CustShortName'
      KeyFields = 'CustID'
      Size = 50
      Lookup = True
    end
  end
  object adsReportLists: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 'select * from xt_Reports where Kind=2'#13#10'order by ReportNo'
    CommandTimeout = 0
    Parameters = <>
    Left = 176
    Top = 32
    object IntegerField1: TIntegerField
      Tag = 1
      FieldName = 'ReportID'
    end
    object StringField1: TStringField
      Tag = 1
      FieldName = 'ReportNo'
    end
    object StringField2: TStringField
      DisplayLabel = #25253#34920#21517#31216
      FieldName = 'ReportName'
      Size = 50
    end
    object StringField3: TStringField
      FieldName = 'ReportPath'
      Size = 100
    end
    object adsReportListsFileType: TStringField
      FieldName = 'FileType'
      Size = 5
    end
    object WordField1: TWordField
      FieldName = 'Kind'
    end
    object IntegerField2: TIntegerField
      Tag = 1
      FieldName = 'ParentID'
    end
    object BlobField1: TBlobField
      FieldName = 'TheReport'
    end
    object WordField2: TWordField
      FieldName = 'State'
    end
    object adsReportListsMyReport: TWordField
      FieldName = 'MyReport'
    end
    object StringField4: TStringField
      DisplayLabel = #22791#27880
      FieldName = 'Remark'
      Size = 50
    end
  end
  object res_Module: TADODataSet
    Connection = dtmConnect.conMain
    CursorType = ctStatic
    LockType = ltBatchOptimistic
    CommandText = 
      'select ModuleID, ModuleName from xt_Module '#13#10'where MenuKind>0  o' +
      'rder by ModuleNo'
    Parameters = <>
    Left = 176
    Top = 96
    object res_ModuleModuleID: TIntegerField
      FieldName = 'ModuleID'
    end
    object res_ModuleModuleName: TStringField
      DisplayLabel = #27169#22359#21517#31216
      FieldName = 'ModuleName'
      Size = 80
    end
  end
  object res_Customer: TADODataSet
    Connection = dtmConnect.conMain
    LockType = ltBatchOptimistic
    CommandText = 'Select CustID, CustShortName from da_Customer'
    Parameters = <>
    Left = 176
    Top = 160
  end
end
